<!DOCTYPE html>





<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
<meta name="theme-color" content="#222">
<meta name="generator" content="Hexo 3.9.0">
  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png?v=7.4.1">
  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png?v=7.4.1">
  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png?v=7.4.1">
  <link rel="mask-icon" href="/images/logo.svg?v=7.4.1" color="#222">

<link rel="stylesheet" href="/css/main.css?v=7.4.1">

<link rel="stylesheet" href="https://fonts.loli.net/css?family=Microsoft YaHei:300,300italic,400,400italic,700,700italic|Monaco:300,300italic,400,400italic,700,700italic&display=swap&subset=latin,latin-ext">
<link rel="stylesheet" href="/lib/font-awesome/css/font-awesome.min.css?v=4.7.0">


<script id="hexo-configurations">
  var NexT = window.NexT || {};
  var CONFIG = {
    root: '/',
    scheme: 'Mist',
    version: '7.4.1',
    exturl: false,
    sidebar: {"position":"right","display":"always","offset":12,"onmobile":false},
    copycode: {"enable":false,"show_result":false,"style":null},
    back2top: {"enable":true,"sidebar":false,"scrollpercent":false},
    bookmark: {"enable":false,"color":"#222","save":"auto"},
    fancybox: false,
    mediumzoom: false,
    lazyload: false,
    pangu: false,
    algolia: {
      appID: '',
      apiKey: '',
      indexName: '',
      hits: {"per_page":10},
      labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
    },
    localsearch: {"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},
    path: 'search.xml',
    motion: {"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},
    translation: {
      copy_button: '复制',
      copy_success: '复制成功',
      copy_failure: '复制失败'
    },
    sidebarPadding: 40
  };
</script>

  <meta name="description" content="假期真的是太闲了，鸽了好久的搭个人博客计划启动~~还是用最简单的github homepage+Hexo搭一个凑合用吧。。。细节我就不详细写了，照着这个步骤就差不多了Footnote【1】我是在自己的WSL上搭的，所以基本参考使用linux博主的过程就ok了此处记录一些bug以及解决方法：创建myname.github.io项目，配置ssh密钥，链接github">
<meta name="keywords" content="Python;Antibody;NGS;Bioinformatics">
<meta property="og:type" content="article">
<meta property="og:title" content="github homepage + Hexo搭建个人博客">
<meta property="og:url" content="https://blingarida.github.io/2019/10/10/搭建个人博客/index.html">
<meta property="og:site_name" content="TwinkleShowTime">
<meta property="og:description" content="假期真的是太闲了，鸽了好久的搭个人博客计划启动~~还是用最简单的github homepage+Hexo搭一个凑合用吧。。。细节我就不详细写了，照着这个步骤就差不多了Footnote【1】我是在自己的WSL上搭的，所以基本参考使用linux博主的过程就ok了此处记录一些bug以及解决方法：创建myname.github.io项目，配置ssh密钥，链接github">
<meta property="og:locale" content="zh-CN">
<meta property="og:image" content="https://blingarida.github.io/images/1570605147289.png">
<meta property="og:updated_time" content="2019-10-10T02:11:52.631Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="github homepage + Hexo搭建个人博客">
<meta name="twitter:description" content="假期真的是太闲了，鸽了好久的搭个人博客计划启动~~还是用最简单的github homepage+Hexo搭一个凑合用吧。。。细节我就不详细写了，照着这个步骤就差不多了Footnote【1】我是在自己的WSL上搭的，所以基本参考使用linux博主的过程就ok了此处记录一些bug以及解决方法：创建myname.github.io项目，配置ssh密钥，链接github">
<meta name="twitter:image" content="https://blingarida.github.io/images/1570605147289.png">
  <link rel="canonical" href="https://blingarida.github.io/2019/10/10/搭建个人博客/">


<script id="page-configurations">
  // https://hexo.io/docs/variables.html
  CONFIG.page = {
    sidebar: "",
    isHome: false,
    isPost: true,
    isPage: false,
    isArchive: false
  };
</script>

  <title>github homepage + Hexo搭建个人博客 | TwinkleShowTime</title>
  








  <noscript>
  <style>
  .use-motion .brand,
  .use-motion .menu-item,
  .sidebar-inner,
  .use-motion .post-block,
  .use-motion .pagination,
  .use-motion .comments,
  .use-motion .post-header,
  .use-motion .post-body,
  .use-motion .collection-header { opacity: initial; }

  .use-motion .logo,
  .use-motion .site-title,
  .use-motion .site-subtitle {
    opacity: initial;
    top: initial;
  }

  .use-motion .logo-line-before i { left: initial; }
  .use-motion .logo-line-after i { right: initial; }
  </style>
</noscript>

</head>

<body itemscope itemtype="http://schema.org/WebPage">
  <div class="container use-motion">
    <div class="headband"></div>

    <header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-container">
  <div class="site-meta">

    <div>
      <a href="/" class="brand" rel="start">
        <span class="logo-line-before"><i></i></span>
        <span class="site-title">TwinkleShowTime</span>
        <span class="logo-line-after"><i></i></span>
      </a>
    </div>
        <p class="site-subtitle">Labourer Can's Work Hour</p>
      
  </div>

  <div class="site-nav-toggle">
    <div class="toggle" aria-label="切换导航栏">
      <span class="toggle-line toggle-line-first"></span>
      <span class="toggle-line toggle-line-middle"></span>
      <span class="toggle-line toggle-line-last"></span>
    </div>
  </div>
</div>


<nav class="site-nav">
  
  <ul id="menu" class="menu">
      
      
      
        
        <li class="menu-item menu-item-home">
      
    

    <a href="/" rel="section"><i class="fa fa-fw fa-home"></i>首页</a>

  </li>
      
      
      
        
        <li class="menu-item menu-item-about">
      
    

    <a href="/about/" rel="section"><i class="fa fa-fw fa-user"></i>关于</a>

  </li>
      
      
      
        
        <li class="menu-item menu-item-archives">
      
    

    <a href="/archives/" rel="section"><i class="fa fa-fw fa-archive"></i>归档</a>

  </li>
      <li class="menu-item menu-item-search">
        <a href="javascript:;" class="popup-trigger">
        
          <i class="fa fa-search fa-fw"></i>搜索</a>
      </li>
    
  </ul>

    

</nav>
  <div class="site-search">
    <div class="popup search-popup">
    <div class="search-header">
  <span class="search-icon">
    <i class="fa fa-search"></i>
  </span>
  <div class="search-input-container">
    <input autocomplete="off" autocorrect="off" autocapitalize="none"
           placeholder="搜索..." spellcheck="false"
           type="text" id="search-input">
  </div>
  <span class="popup-btn-close">
    <i class="fa fa-times-circle"></i>
  </span>
</div>
<div id="search-result"></div>

</div>
<div class="search-pop-overlay"></div>

  </div>
</div>
    </header>

    
  <div class="back-to-top">
    <i class="fa fa-arrow-up"></i>
    <span>0%</span>
  </div>


    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          <div id="content" class="content">
            

  <div class="posts-expand">
      
  
  
  <article itemscope itemtype="http://schema.org/Article" class="post-block " lang="zh-CN">
    <link itemprop="mainEntityOfPage" href="https://blingarida.github.io/2019/10/10/搭建个人博客/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="name" content="CanY's Blog">
      <meta itemprop="description" content="">
      <meta itemprop="image" content="/images/avatar.gif">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="TwinkleShowTime">
    </span>
      <header class="post-header">
        <h1 class="post-title" itemprop="name headline">github homepage + Hexo搭建个人博客

          
        </h1>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              <span class="post-meta-item-text">发表于</span>

              
                
              

              <time title="创建时间：2019-10-10 10:11:52" itemprop="dateCreated datePublished" datetime="2019-10-10T10:11:52+08:00">2019-10-10</time>
            </span>
          

          
          <br>
            <span class="post-meta-item" title="本文字数">
              <span class="post-meta-item-icon">
                <i class="fa fa-file-word-o"></i>
              </span>
              
                <span class="post-meta-item-text">本文字数：</span>
              
              <span>4.4k</span>
            </span>
          
            <span class="post-meta-item" title="阅读时长">
              <span class="post-meta-item-icon">
                <i class="fa fa-clock-o"></i>
              </span>
              
                <span class="post-meta-item-text">阅读时长 &asymp;</span>
              
              <span>4 分钟</span>
            </span>
          

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
        <p>假期真的是太闲了，鸽了好久的搭个人博客计划启动~~</p><p>还是用最简单的github homepage+Hexo搭一个凑合用吧。。。细节我就不详细写了，照着这个步骤就差不多了<a href="https://xiaozhuanlan.com/topic/0863417529" target="_blank" rel="noopener">Footnote【1】</a></p><p>我是在自己的WSL上搭的，所以基本参考使用linux博主的过程就ok了</p><p>此处记录一些bug以及解决方法：</p><p>创建myname.github.io项目，配置ssh密钥，链接github</p><a id="more"></a>




<p>出现了报错，无法连接ip和端口</p>
<h1 id="ping-github-com拼不通"><a href="#ping-github-com拼不通" class="headerlink" title="ping github.com拼不通"></a>ping github.com拼不通</h1><p>尝试解决：打开C:\Windows\System32\drivers\etc\hosts，发现：确实没有github.com的解析</p>
<blockquote>
<p>在文件末尾添加如下内容，并保存：</p>
<p>192.30.255.112  github.com git<br>185.31.16.184 github.global.ssl.fastly.net</p>
</blockquote>
<p>重启cmd窗口，继续ping一下github.com：</p>
<blockquote>
<p>/mnt/d/1A/WorkNote/ —&gt; ping github.com<br>PING github.com (192.30.255.112) 56(84) bytes of data.<br>64 bytes from github.com (192.30.255.112): icmp_seq=1 ttl=39 time=199 ms<br>64 bytes from github.com (192.30.255.112): icmp_seq=2 ttl=39 time=202 ms<br>64 bytes from github.com (192.30.255.112): icmp_seq=3 ttl=39 time=200 ms<br>64 bytes from github.com (192.30.255.112): icmp_seq=4 ttl=39 time=199 ms<br>^C<br>— github.com ping statistics —<br>4 packets transmitted, 4 received, 0% packet loss, time 3003ms<br>rtt min/avg/max/mdev = 199.580/200.422/202.086/1.084 ms</p>
</blockquote>
<p>说明，本机已经能够正常解析github.com这个域名了。</p>
<h1 id="ssh-连接不上github"><a href="#ssh-连接不上github" class="headerlink" title="ssh 连接不上github"></a>ssh 连接不上github</h1><p>em，回上海之后，迷一样的可以了。。。</p>
<h2 id="配置设置"><a href="#配置设置" class="headerlink" title="配置设置"></a>配置设置</h2><p>编辑<code>_config.yml</code>文件</p>
<blockquote>
<p>deploy:</p>
<p>   type:git</p>
<p>   repo:<a href="mailto:git@github.com" target="_blank" rel="noopener">git@github.com</a>:BlingArida/BlingArida.github.io.git</p>
<p>   branch:master</p>
</blockquote>
<h2 id="设置主题"><a href="#设置主题" class="headerlink" title="设置主题"></a>设置主题</h2><p><a href="https://github.com/theme-next/hexo-theme-next" target="_blank" rel="noopener">https://github.com/theme-next/hexo-theme-next</a></p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">git clone https://github.com/theme-next/hexo-theme-next themes/next</span><br><span class="line">然后去_config.yml 修改一下主题名字就好了</span><br></pre></td></tr></table></figure>

<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">hexo -d</span><br></pre></td></tr></table></figure>

<p>报了一个错：</p>
<blockquote>
<p>Connection closed by 192.30.255.112 port 22<br>fatal: Could not read from remote repository.</p>
<p>Please make sure you have the correct access rights<br>and the repository exists.<br>FATAL Something’s wrong. Maybe you can find the solution here: <a href="https://hexo.io/docs/troubleshooting.html" target="_blank" rel="noopener">https://hexo.io/docs/troubleshooting.html</a></p>
</blockquote>
<p>嗯，所以我在_config.yml里把git换成https了，然后搞定了</p>
<h3 id="站内搜索功能的实现"><a href="#站内搜索功能的实现" class="headerlink" title="站内搜索功能的实现"></a>站内搜索功能的实现</h3><p>首先，我们在终端进入blog的根目录下，执行以下命令，注意这两个都要安装：</p>
<p>强调一下，这里我们要实现的是全文搜索，之前看教程只装了下面那个，折腾半天搞不定站内全文搜索，只能检索标题mmp。。。</p>
<p>如果这个破搜索抽风的话，就去blog目录下删<code>node_modules</code>这个文件夹，重新执行这几步插件的安装</p>
<p><a href="https://www.itfanr.cc/2017/11/24/resolve-hexo-blog-search-exception/" target="_blank" rel="noopener">https://www.itfanr.cc/2017/11/24/resolve-hexo-blog-search-exception/</a></p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">npm install hexo-deployer-git --save</span><br><span class="line">npm install hexo-generator-search --save</span><br><span class="line">npm install hexo-generator-searchdb --save</span><br></pre></td></tr></table></figure>

<p>接着，我们进入站点配置文件_config.yml,在最后新增以下内容：</p>
<p>#content 默认是true，即支持全文搜索</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line">search:</span><br><span class="line">  path: search.xml</span><br><span class="line">  field: post</span><br><span class="line">  format: html</span><br><span class="line">  limit: 10000</span><br></pre></td></tr></table></figure>

<p>最后，打开主题配置文件_config.yml,搜索local_search,其值改为true：</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line"># Local </span><br><span class="line">searchlocal_search:  enable: true</span><br></pre></td></tr></table></figure>

<h3 id="为文章内容添加统计功能，文字总数-阅读时长"><a href="#为文章内容添加统计功能，文字总数-阅读时长" class="headerlink" title="为文章内容添加统计功能，文字总数+阅读时长"></a>为文章内容添加统计功能，文字总数+阅读时长</h3><p>这个功能在next主题中已经存在了，我们只需要打开开关就行，具体步骤分为下面三步：</p>
<ol>
<li><p>终端进入blog根目录，执行下面代码：</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">npm install hexo-symbols-count-time --save</span><br></pre></td></tr></table></figure>
</li>
<li><p>进入站点配置文件，为blog配置统计功能，将以下代码复制到最后：</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line">symbols_count_time:</span><br><span class="line">  symbols: true</span><br><span class="line">  time: true</span><br><span class="line">  total_symbols: true</span><br><span class="line">  total_time: true</span><br></pre></td></tr></table></figure>
</li>
<li><p>进入主题配置文件，搜素<code>symbols_count_time</code>,然后把要显示的改为<code>true</code>.<br>更深入的操作大家可以看github上的<a href="https://github.com/theme-next/hexo-symbols-count-time" target="_blank" rel="noopener">说明</a>。<br>PS：如果大家配置完成，然后检查无误后，打开页面依旧没有显示，shift+F5）.</p>
</li>
</ol>
<h3 id="添加版权信息"><a href="#添加版权信息" class="headerlink" title="添加版权信息"></a>添加版权信息</h3><p>编辑next/_config.yml</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line">creative_commons:</span><br><span class="line">  license: by-nc-sa</span><br><span class="line">  sidebar: true</span><br><span class="line">  post: true</span><br><span class="line">  language:</span><br></pre></td></tr></table></figure>

<h2 id="设置favicon图标"><a href="#设置favicon图标" class="headerlink" title="设置favicon图标"></a>设置favicon图标</h2><p>1、选择一个favicon制作网站完成制作，例如：<a href="http://www.bitbug.net/" target="_blank" rel="noopener">比特虫</a> ，制作一个16<em>16，一个32</em>32的；<br>2、两个不同尺寸大小的文件，重名为favicon-16x16-next.png和favicon-32x32-next.png；<br>2、将重命名的两个图片文件放到博客目录下的themes/next/source/images中（覆盖原来的两个默认的）</p>
<h2 id="图片设置"><a href="#图片设置" class="headerlink" title="图片设置"></a>图片设置</h2><p>hexo支持它的myBlog/source/images里的图片上传</p>
<p>在typora设置</p>
<p><img src="/images/1570605147289.png" alt="1570605147289"></p>
<p>设置好了之后，typora的开头会增加一行</p>
<figure class="highlight md"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">---</span><br><span class="line">title: github homepage + Hexo搭建个人博客</span><br><span class="line">typora-root-url: ..</span><br><span class="line">---</span><br></pre></td></tr></table></figure>

<p>这样就可以愉快地直接本地和推到git上查看图片了</p>
<h2 id="字体设置"><a href="#字体设置" class="headerlink" title="字体设置"></a>字体设置</h2><p>编辑<code>next/_config.yml</code></p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br></pre></td><td class="code"><pre><span class="line">font:</span><br><span class="line">  # Use custom fonts families or not.</span><br><span class="line">  # Depended options: `external` and `family`.</span><br><span class="line">  enable: true</span><br><span class="line"></span><br><span class="line">  # Uri of fonts host, e.g. //fonts.googleapis.com (Default).</span><br><span class="line">  host: https://fonts.loli.net</span><br><span class="line"></span><br><span class="line">  # Font options:</span><br><span class="line">  # `external: true` will load this font family from `host` above.</span><br><span class="line">  # `family: Times New Roman`. Without any quotes.</span><br><span class="line">  # `size: x.x`. Use `em` as unit. Default: 1 (16px)</span><br><span class="line"></span><br><span class="line">  # Global font settings used for all elements inside &lt;body&gt;.</span><br><span class="line">  global:</span><br><span class="line">    external: true</span><br><span class="line">    family: &quot;Microsoft YaHei&quot;</span><br><span class="line">    size: 0.8</span><br><span class="line"></span><br><span class="line">  # Font settings for site title (.site-title).</span><br><span class="line">  title:</span><br><span class="line">    external: true</span><br><span class="line">    family: Monaco</span><br><span class="line">    size:</span><br><span class="line"></span><br><span class="line">  # Font settings for headlines (&lt;h1&gt; to &lt;h6&gt;).</span><br><span class="line">  headings:</span><br><span class="line">    external: true</span><br><span class="line">    family: Monaco</span><br><span class="line">    size:</span><br><span class="line"></span><br><span class="line">  # Font settings for posts (.post-body).</span><br><span class="line">  posts:</span><br><span class="line">    external: true</span><br><span class="line">    family: &quot;Microsoft YaHei&quot;</span><br><span class="line"></span><br><span class="line">  # Font settings for &lt;code&gt; and code blocks.</span><br><span class="line">  codes:</span><br><span class="line">    external: true</span><br><span class="line">    family: Monaco</span><br></pre></td></tr></table></figure>

<p>觉得字体略大</p>
<p>编辑myBlog\themes\next\source\css_variables\base.styl</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$font-size-base           = 12px;</span><br></pre></td></tr></table></figure>

<h1 id="还想加进去的功能"><a href="#还想加进去的功能" class="headerlink" title="还想加进去的功能"></a>还想加进去的功能</h1><ol>
<li>增加评论功能</li>
<li>设置一个萌系（?）头像</li>
<li>发现基友的网站都能插入视频了，em下次再说</li>
<li>优化百度、谷歌搜索到博客，其实这个最重要。。。emmm，先鸽。。。</li>
</ol>
<h1 id="FootNotes"><a href="#FootNotes" class="headerlink" title="FootNotes"></a>FootNotes</h1><p><a href="https://xiaozhuanlan.com/topic/0863417529" target="_blank" rel="noopener">【新手向】从零开始搭建一个酷炫免费的个人博客</a></p>
<p><a href="https://hexo-guide.readthedocs.io/zh_CN/latest/theme.html" target="_blank" rel="noopener">https://hexo-guide.readthedocs.io/zh_CN/latest/theme.html</a></p>
<p><a href="https://sonichuang.github.io/SonicHuang/58b77a70/" target="_blank" rel="noopener">如何在Typora中插入本地图片和加入Readmore按钮</a></p>
<p><a href="https://theme-next.org/docs/theme-settings/#Fonts-Customization" target="_blank" rel="noopener">https://theme-next.org/docs/theme-settings/#Fonts-Customization</a></p>
<p><a href="https://io-oi.me/tech/hexo-next-optimization/#" target="_blank" rel="noopener">https://io-oi.me/tech/hexo-next-optimization/#</a></p>
<p><a href="http://www.ehcoo.com/seo.html" target="_blank" rel="noopener">http://www.ehcoo.com/seo.html</a></p>

    </div>

    
    
    
        
      
        

<div>
<ul class="post-copyright">
  <li class="post-copyright-author">
    <strong>本文作者： </strong>CanY's Blog</li>
  <li class="post-copyright-link">
    <strong>本文链接：</strong>
    <a href="https://blingarida.github.io/2019/10/10/搭建个人博客/" title="github homepage + Hexo搭建个人博客">https://blingarida.github.io/2019/10/10/搭建个人博客/</a>
  </li>
  <li class="post-copyright-license">
    <strong>版权声明： </strong>本博客所有文章除特别声明外，均采用 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" rel="noopener" target="_blank"><i class="fa fa-fw fa-creative-commons"></i>BY-NC-SA</a> 许可协议。转载请注明出处！</li>
</ul>
</div>

      

      <footer class="post-footer">

        

          <div class="post-nav">
            <div class="post-nav-next post-nav-item">
              
                <a href="/2019/10/09/python 云服务器配置/" rel="next" title="python云服务器配置">
                  <i class="fa fa-chevron-left"></i> python云服务器配置
                </a>
              
            </div>

            <span class="post-nav-divider"></span>

            <div class="post-nav-prev post-nav-item">
              
                <a href="/2019/10/10/hexo项目github备份/" rel="prev" title="hexo项目github备份---管理git仓库的子仓库">
                  hexo项目github备份---管理git仓库的子仓库 <i class="fa fa-chevron-right"></i>
                </a>
              
            </div>
          </div>
        
      </footer>
    
  </article>
  
  
  

  </div>


          </div>
          

        </div>
          
  
  <div class="toggle sidebar-toggle">
    <span class="toggle-line toggle-line-first"></span>
    <span class="toggle-line toggle-line-middle"></span>
    <span class="toggle-line toggle-line-last"></span>
  </div>

  <aside class="sidebar">
    <div class="sidebar-inner">
        
        
        
        
      

      <ul class="sidebar-nav motion-element">
        <li class="sidebar-nav-toc">
          文章目录
        </li>
        <li class="sidebar-nav-overview">
          站点概览
        </li>
      </ul>

      <!--noindex-->
      <div class="post-toc-wrap sidebar-panel">
          <div class="post-toc motion-element"><ol class="nav"><li class="nav-item nav-level-1"><a class="nav-link" href="#ping-github-com拼不通"><span class="nav-text">ping github.com拼不通</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#ssh-连接不上github"><span class="nav-text">ssh 连接不上github</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#配置设置"><span class="nav-text">配置设置</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#设置主题"><span class="nav-text">设置主题</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#站内搜索功能的实现"><span class="nav-text">站内搜索功能的实现</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#为文章内容添加统计功能，文字总数-阅读时长"><span class="nav-text">为文章内容添加统计功能，文字总数+阅读时长</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#添加版权信息"><span class="nav-text">添加版权信息</span></a></li></ol></li><li class="nav-item nav-level-2"><a class="nav-link" href="#设置favicon图标"><span class="nav-text">设置favicon图标</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#图片设置"><span class="nav-text">图片设置</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#字体设置"><span class="nav-text">字体设置</span></a></li></ol></li><li class="nav-item nav-level-1"><a class="nav-link" href="#还想加进去的功能"><span class="nav-text">还想加进去的功能</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#FootNotes"><span class="nav-text">FootNotes</span></a></li></ol></div>
        
      </div>
      <!--/noindex-->

      <div class="site-overview-wrap sidebar-panel">
        <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
  <p class="site-author-name" itemprop="name">CanY's Blog</p>
  <div class="site-description" itemprop="description"></div>
</div>
<div class="site-state-wrap motion-element">
  <nav class="site-state">
      <div class="site-state-item site-state-posts">
        
          <a href="/archives/">
        
          <span class="site-state-item-count">7</span>
          <span class="site-state-item-name">日志</span>
        </a>
      </div>
    
  </nav>
</div>
  <div class="links-of-author motion-element">
      <span class="links-of-author-item">
      
      
        
      
      
        
      
        <a href="https://github.com/BlingArida" title="GitHub &rarr; https://github.com/BlingArida" rel="noopener" target="_blank"><i class="fa fa-fw fa-globe"></i>GitHub</a>
      </span>
    
      <span class="links-of-author-item">
      
      
        
      
      
        
      
        <a href="mailto:canyin16@outlook.com" title="E-Mail &rarr; mailto:canyin16@outlook.com" rel="noopener" target="_blank"><i class="fa fa-fw fa-globe"></i>E-Mail</a>
      </span>
    
  </div>
  <div class="cc-license motion-element" itemprop="license">
    
  
    <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" class="cc-opacity" rel="noopener" target="_blank"><img src="/images/cc-by-nc-sa.svg" alt="Creative Commons"></a>
  </div>


  <div class="links-of-blogroll motion-element">
    <div class="links-of-blogroll-title">
      <i class="fa fa-fw fa-link"></i>
      友链：手癌八卦求生小分队
    </div>
    <ul class="links-of-blogroll-list">
        <li class="links-of-blogroll-item">
          <a href="https://silenwang.github.io" title="https://silenwang.github.io" rel="noopener" target="_blank">翻车老先生</a>
        </li>
      
        <li class="links-of-blogroll-item">
          <a href="https://github.com/EclipseZhao" title="https://github.com/EclipseZhao" rel="noopener" target="_blank">背锅女司机</a>
        </li>
      
    </ul>
  </div>

      </div>

    </div>
  </aside>
  <div id="sidebar-dimmer"></div>


      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <div class="copyright">&copy; <span itemprop="copyrightYear">2019</span>
  <span class="with-love" id="animate">
    <i class="fa fa-user"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">CanY's Blog</span>
    <span class="post-meta-divider">|</span>
    <span class="post-meta-item-icon">
      <i class="fa fa-area-chart"></i>
    </span>
      <span class="post-meta-item-text">站点总字数：</span>
    
    <span title="站点总字数">22k</span>
    <span class="post-meta-divider">|</span>
    <span class="post-meta-item-icon">
      <i class="fa fa-coffee"></i>
    </span>
      <span class="post-meta-item-text">站点阅读时长 &asymp;</span>
    
    <span title="站点阅读时长">20 分钟</span>
</div>
  <div class="powered-by">由 <a href="https://hexo.io" class="theme-link" rel="noopener" target="_blank">Hexo</a> 强力驱动 v3.9.0</div>
  <span class="post-meta-divider">|</span>
  <div class="theme-info">主题 – <a href="https://theme-next.org" class="theme-link" rel="noopener" target="_blank">NexT.Mist</a> v7.4.1</div>

        












        
      </div>
    </footer>
  </div>

  
  <script src="/lib/anime.min.js?v=3.1.0"></script>
  <script src="/lib/velocity/velocity.min.js?v=1.2.1"></script>
  <script src="/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>
<script src="/js/utils.js?v=7.4.1"></script><script src="/js/motion.js?v=7.4.1"></script>
<script src="/js/schemes/muse.js?v=7.4.1"></script>

<script src="/js/next-boot.js?v=7.4.1"></script>



  








  <script src="/js/local-search.js?v=7.4.1"></script>














  

  

  

</body>
</html>
